package cn.itcast.com.Annotation.process;

public class Student {

    @NameLengthConstraint(lengthLimit = 5)
    public String name;
    @AgeConstraint(minAge = 18,maxAge = 25)
    public int age;

    private Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
